{template 'header'}
<!--当前位置-->
<div class="location layout960">
	当前位置: <a href="{SITE_URL}">首页</a>&nbsp;»&nbsp; <a href="{url('buy/list')}">{$MOD[name]}</a>
</div>
<!--当前位置 end-->
<div class="layout960 fn-clear">
    <div class="main-head-blue">
        <h2>二手</h2>
        <a href="{url('member/my', array('mid'=> $moduleid, 'action'=> 'add'))}">发布二手信息</a>
    </div>
	<!--二手信息start-->
	<div class="layout-inner mt10 fn-clear">
		<div class="sell-show fn-left">
            <!--二手信息 属性start-->
			<div class="sell-show-top fn-clear">
                <!--img-start-->
                <div class="auto-series-imgs fn-left">
                    <ul id="J_Big" class="big-img">
	                    {loop $albums $k $v}
	                    <li><img src="{$v}" width="350"></li>
	                    {/loop}
                    </ul>
                    <ul id="J_Thumbnail" class="thumbnail fn-clear">
                        {loop $thumbs $k $v}
                        <li><img src="{$v}"><i class="up-tri" style="display: none"></i></li>
                        {/loop}
                    </ul>
                </div>
                <!--img end-->
                <div class="sell-show-intro fn-right">
                    <h3>{$title}</h3>
                    <dl>
                        <dt>二手性质：</dt>
                        <dd><a href="{url('buy/list', 'typeid='.$typeid)}">{$TYPE_NAME[$typeid]}</a></dd>
                        <dt>分类：</dt>
                        <dd>{catPos($CAT, ' &raquo; ')}</dd>
	                    {if $autoBrand}
	                    <dt>适用车型：</dt>
	                    <dd>
		                    <a href="{url('auto/brand', 'brandId='.$autoBrand['arid'])}">{$autoBrand['name']}</a>&raquo;
		                    {if $autoCar}<a href="{url('auto/car', 'carid='.$autoCar['arid'])}">{$autoCar['name']}</a>{/if}
	                    </dd>
	                    {/if}
                        <dt>地区：</dt>
                        <dd>{area_pos($areaid, ' ')}</dd>
                        {if $price}
                        <dt>价格：</dt>
                        <dd>{if $price}<span>{$price}</span> 元{else}面议{/if}</dd>
                        {/if}
                        {if $amount}
                        <dt>数量：</dt>
                        <dd><span>{$amount}</span>件</dd>
                        {/if}
                        <dt>过期日期：</dt>
                        <dd>{if $totime}{date('Y-m-d H:i:s',$totime)}{else}长期有效{/if}</dd>

                        {if $introduce}
                        <dt>说明：</dt>
                        <dd>{$introduce}</dd>
                        {/if}
	                    <dl class="fn-clear"><dt>浏览次数：</dt><dd>{$hits}</dd></dl>

                    </dl>
                </div>
			</div>
            <!--二手信息属性 end -->
            <!--详细信息 start-->
            <div class="sell-show-detail bd mt10">
                <div class="hd hd-bg-30"><h3>详细信息</h3></div>
                <div class="con">{$content}</div>
            </div>
            <!--详细信息 end-->
            <!--联系方式信息 start-->
            <div class="sell-show-detail bd mt10">
                <div class="hd hd-bg-30"><h3>联系方式</h3></div>
                <div class="con">
                    <table border="0">
                        <tr>
                            <td>发布单位:</td>
                            <td>{$company}</td>
                        </tr>
                        <tr>
                            <td>联系人：</td>
                            <td>{$truename}</td>
                        </tr>
	                    {if $telephone}
	                    <tr>
		                    <td>联系电话：</td>
		                    <td>{anti_spam($telephone)}</td>
	                    </tr>
	                    {/if}
	                    {if $mobile}
                        <tr>
                            <td>联系手机：</td>
                            <td>{anti_spam($mobile)}</td>
                        </tr>
	                    {/if}
	                    {if $address}
                        <tr>
                            <td>联系地址：</td>
                            <td>{$address}</td>
                        </tr>
	                    {/if}
                    </table>
                   </div>
            </div>
            <!--详细信息 end-->
            <!--同类信息 start-->
            <div class="sell-show-relate bd mt10">
                <div class="hd hd-bg-30">
                    <h3>同类信息</h3>
                </div>
                <ul class="con fn-clear">
                    {loop $semesell $k $v}
                    {if 0<$k&&$k<5}
                    <li>
                        <img src="{Picture::thumb($v[thumb],142,105)}" >
                        <a href="{url('buy/show', 'itemid='.$v['itemid'])}">{$v['title']}</a>
                    </li>
                    {/if}
                    {/loop}
                    <li>
                </ul>
            </div>
            <!--同类信息 end-->
		</div>
		<div class="fn-right">
		<iframe src="{SITE_URL}extend/fragment.php?modules=quote&psize=10&city_order={$city_order}"  scrolling="no" frameborder="0" height="303"></iframe>
		<iframe src="{SITE_URL}extend/fragment.php?modules=pic&psize=6"  scrolling="no" frameborder="0" height="440"></iframe>
		<!--<iframe src="{SITE_URL}extend/fragment.php?modules=video&psize=6"  scrolling="no" frameborder="0" height='440'></iframe>-->
		<!--<iframe src="{SITE_URL}extend/fragment.php?modules=BBS"  scrolling="no" frameborder="0" height='303'></iframe>-->
		<!--<iframe src="{SITE_URL}extend/fragment.php?modules=use&psize=10"  scrolling="no" frameborder="0" height='303' ></iframe>-->
		<!--<iframe src="{SITE_URL}extend/fragment.php?modules=learn&psize=10"  scrolling="no" frameborder="0" height='303' ></iframe>-->
		</div>
</div>
    <script type="text/javascript">
        seajs.use(['lm-util'],function(util){
            util.showThumbnail("#J_Big","#J_Thumbnail");
        })
    </script>
<!--主体部分 end-->
{template 'footer'}